package vip.xiaonuo.pm.modular.enterprise.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import vip.xiaonuo.common.param.DeleteByIdParam;
import vip.xiaonuo.pm.modular.enterprise.entity.PmEnterpriseBankEntity;
import vip.xiaonuo.pm.modular.enterprise.param.EnterpriseBankAddParam;
import vip.xiaonuo.pm.modular.enterprise.param.EnterpriseBankEditParam;
import vip.xiaonuo.pm.modular.enterprise.param.EnterpriseBankPageParam;

import java.util.List;

/**
 * <p>
 * 客户银行账户信息 服务类
 * </p>
 *
 * @author xhs
 * @since 2025-06-04
 */
public interface PmEnterpriseBankService extends IService<PmEnterpriseBankEntity> {

    /**
     * 根据ID查询数据
     *
     * @param id 入参
     * @return PmEnterpriseEntity
     */
    PmEnterpriseBankEntity queryEntityById(String id);

    /**
     * 新增客户银行账户信息
     *
     * @param enterpriseBankAddParam 入参
     */
    void add(EnterpriseBankAddParam enterpriseBankAddParam);

    /**
     * 编辑客户银行账户信息
     *
     * @param enterpriseBankEditParam 入参
     */
    void edit(EnterpriseBankEditParam enterpriseBankEditParam);

    /**
     * 删除客户银行账户信息
     *
     * @param DeleteIdParamList 入参
     */
    void delete(List<DeleteByIdParam> DeleteIdParamList);

    /**
     * 获取客户银行账户信息分页
     *
     * @param enterpriseBankPageParam 入参
     * @return Page<PmEnterpriseBankEntity>
     */
    Page<PmEnterpriseBankEntity> page(EnterpriseBankPageParam enterpriseBankPageParam);
}
